<?php
namespace think\filesystem\driver;

use League\Flysystem\AdapterInterface;
use League\Flysystem\Filesystem;
use Overtrue\Flysystem\Qiniu\QiniuAdapter;
use think\filesystem\Driver;

class Qiniu extends Driver
{
    protected function createAdapter(): AdapterInterface
    {
        return new QiniuAdapter($this->config['accessKey'],$this->config['secretKey'],$this->config['bucket'],$this->config['domain']);
    }
}